package com.itfenghuang.day09;

import java.io.*;
import java.util.Scanner;

public class A00_作业 {
    public static void main(String[] args) throws IOException {

        Scanner sc = new Scanner(System.in);
        System.out.println("用户名");
        String s1 = sc.nextLine();
        System.out.println("密码");
        String s2 = sc.nextLine();

        FileWriter fw = new FileWriter("D:\\it\\b.txt");

        fw.write(s1);
        fw.write("\r\n");
        fw.write(s2);
        fw.close();



    }
}
